package com.yjd.bi.user.service;

import com.yjd.comm.base.service.IBaseService;
import com.yjd.bi.user.model.BankDepoAccountModel;

/**
 * <b>description</b>：账户表业务接口<br>
 * <b>time</b>：2018-08-16 09:15:11 <br>
 * <b>author</b>：  yangchangyan@yijiedai.com
 */
public interface IBankDepoAccountService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public BankDepoAccountModel insert(BankDepoAccountModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(BankDepoAccountModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param user_id
	 * @return
	 * @throws Exception
	 */
	public int delete(long user_id) throws Exception;

}
